package com.chainshop.procurement.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 存储采购信息清单的对象 procurement_info_list
 * 
 * @author zzd
 * @date 2024-08-14
 */
public class ProcurementInfoList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购信息清单ID */
    private String listId;

    /** 管理员名字
 */
    @Excel(name = "管理员名字 ")
    private String adminName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 采购金额 */
    @Excel(name = "采购金额")
    private BigDecimal amount;

    /** 存储采购清单中的商品信息信息 */
    private List<ProcurementItems> procurementItemsList;

    public void setListId(String listId) 
    {
        this.listId = listId;
    }

    public String getListId() 
    {
        return listId;
    }
    public void setAdminName(String adminName) 
    {
        this.adminName = adminName;
    }

    public String getAdminName() 
    {
        return adminName;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public List<ProcurementItems> getProcurementItemsList()
    {
        return procurementItemsList;
    }

    public void setProcurementItemsList(List<ProcurementItems> procurementItemsList)
    {
        this.procurementItemsList = procurementItemsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("listId", getListId())
            .append("adminName", getAdminName())
            .append("applicationTime", getApplicationTime())
            .append("amount", getAmount())
            .append("procurementItemsList", getProcurementItemsList())
            .toString();
    }
}
